package cetb.data;

import java.sql.Connection;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import cetb.domain.Offer;

public interface IOfferDAO {
	public Collection<Offer> selectVIPOffers(String string);
	public List<Offer> selectAllOffers(Connection conn, String soid);
	public Offer selectOffer(Connection conn,String oid);
	public Map<String, Float> selectOfferProducts(Connection conn, String oid); //me quede en este metodo
	public String selectOfferOID(Connection conn, String offerID);
	public void insert(Connection conn, Offer o, String soid);
	public void update(Connection conn, Offer o, String oid);
	public void delete(Connection conn, String oid);
	public void insertOfferProduct(Connection conn, String offerOID, String productOID, float quantity);
}
